package com.example.dllo.my36kr.ui.fragment;

import android.content.Intent;
import android.view.View;
import android.widget.TextView;

import com.example.dllo.my36kr.R;
import com.example.dllo.my36kr.ui.activity.sonactivity.ScannerActivity;

/**消息界面
 * Created by CPC_272 on 16/8/15.
 */
public class MessageFragment extends AbsBaseFragment {
    private TextView two;
    @Override
    protected int setLayout() {
        return R.layout.fragment_message;
    }

    @Override
    protected void initView() {
     two=byView(R.id.erweima);
    }

    @Override
    protected void initData() {
       two.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View v) {
               Intent intent = new Intent(context, ScannerActivity.class);
               context.startActivity(intent);
           }
       });
    }
}
